/*
 * @Author: Clark
 * @Email: haixuanwoTxh@gmail.com
 * @Date: 2023-02-27 13:23:15
 * @LastEditors: Clark
 * @LastEditTime: 2023-02-27 13:23:21
 * @Description: file content
 */

#include "apue.h"

int
main(void)
{
	printf("fd 0: %s\n", isatty(0) ? "tty" : "not a tty");
	printf("fd 1: %s\n", isatty(1) ? "tty" : "not a tty");
	printf("fd 2: %s\n", isatty(2) ? "tty" : "not a tty");
	exit(0);
}
